#ifndef __SOCKET_HPP__
#define __SOCKET_HPP__
#include "Nuncopyable.hpp"

namespace wd
{

class Socket:public Nuncopyable
{
public:
    Socket();
    Socket(int);
    ~Socket();

    int getFd()const;
    void shotdownWrite();

private:
    int creatFd ();
private:    
    int _socketFd;
};


}//end of namespace wd


#endif // __SOCKET_HPP__

